<template>
  <div :class="classes">
    <span v-for="(item,index) in currentData" :class="item.className">
      <a v-if="item.href" :class="linkClasses" @click="click(item, $event)">
        <Icon v-if="item.icon" :type="item.icon" />
        {{item.name}}
      </a>
      <span v-else :class="linkClasses">
        <Icon v-if="item.icon" :type="item.icon" />
        {{item.name}}
      </span>
      <span v-if="index+1<len"
            :class="separatorClasses"
            v-html="separator"></span>
    </span>
  </div>
</template>
<script type="text/ecmascript-6" src="./index.js"></script>
